import week6.homework.AccountCollection;

//**********************************************************************************************************
//  Test.java      Author:Duanhzhixuan
//**********************************************************************************************************
public class Test
{
public static void main(String[] args)
{
AccountCollection movies =new AccountCollection();

movies.addAccount("Wangzhiwei",20172304,150);//创建账户Wangzhiwei
movies.addAccount("Tanxin",20172305,202);//创建账户Tanxin
movies.addAccount("Guokai",20172306,202);//创建账户Guokai
movies.inBalance("Tanxin",20172305,600);//向账户Tanxin存款
System.out.print(movies);//输出所有账户信息
movies.outBalance("Tanxin",20172305,100);//向账户Tanxin取款
System.out.print(movies);//输出所有账户信息
movies.addInteret();//为所有账户增加利息
System.out.print(movies);//输出所有账户信息
}
}

